home *** CD-ROM | disk | FTP | other *** search
- .TH POLY
- 6 "IRIT Version 6.0"
- .SH NAME
- POLY
-
-
-
- PolygonType POLY( ListType VrtxList, NumericType IsPolyline )
-
- Creates a single polygon/polyline (and therefore open) object, defined by
- the vertices in VrtxList (see LIST). All elements in VrtxList
- must be of VectorType type. If IsPolyline, a polyline is created,
- otherwise a polygon.
-
- Example:
-
- V1 = vector( 0.0, 0.0, 0.0 );
- V2 = vector( 0.3, 0.0, 0.0 );
- V3 = vector( 0.3, 0.0, 0.1 );
- V4 = vector( 0.2, 0.0, 0.1 );
- V5 = vector( 0.2, 0.0, 0.5 );
- V6 = vector( 0.3, 0.0, 0.5 );
- V7 = vector( 0.3, 0.0, 0.6 );
- V8 = vector( 0.0, 0.0, 0.6 );
- V9 = vector( 0.0, 0.0, 0.5 );
- V10 = vector( 0.1, 0.0, 0.5 );
- V11 = vector( 0.1, 0.0, 0.1 );
- V12 = vector( 0.0, 0.0, 0.1 );
- I = POLY( list( V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12 ),
- FALSE );
-
- constructs an object with a single polygon in the shape of the letter I.
-